package com.lanou.weekend02.service;

import com.lanou.weekend02.bean.AjaxResult;
import com.lanou.weekend02.bean.User;

/**
 * @author lizhongren1.
 */
public interface UserService {

    boolean isUserExists(String uname);

    boolean judgeUsername(String uname);

    AjaxResult judgeUserInfo(User user);

//    boolean judgePwd(User user);
//
//    boolean judgeRePwd(User user);

    boolean addNewUser(User user);

    boolean login(User user);

}
